package com.atguigu.gmallre.mock.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class OrderDetailCoupon {

    @TableId(value = "id", type = IdType.AUTO)
    private  Long id;

    private Long orderId;

    private Long orderDetailId;

    private Long couponId;

    private Long skuId;

    private Long couponUseId;

    /**
     * 创建时间
     */
    private Date createTime;


    /**
     * 修改时间
     */
    private Date operateTime;

    @TableField(exist = false)
    private OrderDetail orderDetail;
    @TableField(exist = false)
    private OrderInfo orderInfo;
    @TableField(exist = false)
    private CouponInfo couponInfo;

    @TableField(exist = false)
    private CouponUse couponUse;



}
